import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.BorderFactory;
import javax.swing.BoxLayout;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.WindowConstants;
import javax.swing.border.BevelBorder;
import javax.swing.border.LineBorder;

import org.jdesktop.application.Application;

import javax.swing.SwingUtilities;


/**
* This code was edited or generated using CloudGarden's Jigloo
* SWT/Swing GUI Builder, which is free for non-commercial
* use. If Jigloo is being used commercially (ie, by a corporation,
* company or business for any purpose whatever) then you
* should purchase a license for each developer using Jigloo.
* Please visit www.cloudgarden.com for details.
* Use of Jigloo implies acceptance of these licensing terms.
* A COMMERCIAL LICENSE HAS NOT BEEN PURCHASED FOR
* THIS MACHINE, SO JIGLOO OR THIS CODE CANNOT BE USED
* LEGALLY FOR ANY CORPORATE OR COMMERCIAL PURPOSE.
*/
public class search extends javax.swing.JFrame {
	private JPanel zero;
	private JPanel bar;
	private JPanel text;
	private JLabel jLabel3;
	private JLabel jLabel4;
	private JLabel jLabel5;
	private JLabel jLabel10;
	private JLabel jLabel9;
	private JLabel jLabel8;
	private JButton jButton4;
	private JTextField jTextField7;
	private JTextField jTextField6;
	private JTextField jTextField5;
	private JTextField jTextField4;
	private JTextField jTextField2;
	private JLabel jLabel7;
	private JLabel jLabel6;
	private JLabel jLabel2;
	private JLabel Search;
	private JTextField jTextField3;
	private JLabel jLabel11;
	private JButton jButton1;
	private JButton jButton3;
	private JButton jButton2;
	private JLabel jLabel1;
	private JPanel heading;

	/**
	* Auto-generated main method to display this JFrame
	*/
	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				search inst = new search();
				inst.setLocationRelativeTo(null);
				inst.setVisible(true);
			}
		});
	}
	
	public search() {
		super();
		initGUI();
	}
	

    
	static class Action implements ActionListener{    
		public void actionPerformed(ActionEvent e){
			RM frame = new RM();
			frame.setVisible(true);
			}}
	static class Action2 implements ActionListener{    
		public void actionPerformed(ActionEvent e){
			myMenu frame = new myMenu();
			frame.setVisible(true);
			}}
	static class Action3 implements ActionListener{    
		public void actionPerformed(ActionEvent e){
			search frame = new search();
			frame.setVisible(true);
			}}
    
	
	
	private void initGUI() {
		try {
			GridBagLayout thisLayout = new GridBagLayout();
			setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
			thisLayout.rowWeights = new double[] {0.0, 0.1};
			thisLayout.rowHeights = new int[] {52, 7};
			thisLayout.columnWeights = new double[] {0.0, 0.1};
			thisLayout.columnWidths = new int[] {118, 7};
			getContentPane().setLayout(thisLayout);
			{
				zero = new JPanel();
				getContentPane().add(zero, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.NORTH, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				zero.setName("zero");
			}
			{
				heading = new JPanel();
				getContentPane().add(heading, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				heading.setName("heading");
				{
					Search = new JLabel();
					heading.add(Search);
					Search.setName("Search");
					Search.setPreferredSize(new java.awt.Dimension(350, 44));
				}
			}
			{
				bar = new JPanel();
				GridBagLayout barLayout = new GridBagLayout();
				barLayout.rowWeights = new double[] {0.1, 0.1, 0.1, 0.1};
				barLayout.rowHeights = new int[] {40, 40, 40, 40, 40, 40};
				barLayout.columnWeights = new double[] {0.1, 0.1, 0.1, 0.1};
				barLayout.columnWidths = new int[] { 7};
				bar.setLayout(barLayout);
				getContentPane().add(bar, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				bar.setName("bar");
				{
					jButton1 = new JButton();
					bar.add(jButton1, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jButton1.setName("jButton1");
					jButton1.addActionListener(new Action());   
				}
				{
					jButton2 = new JButton();
					bar.add(jButton2, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jButton2.setName("jButton2");
					jButton2.addActionListener(new Action2());   
				}
				{
					jButton3 = new JButton();
					bar.add(jButton3, new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jButton3.setName("jButton3");
					jButton3.addActionListener(new Action3());   
				}
			}
			{
				text = new JPanel();
				GridBagLayout textLayout = new GridBagLayout();
				textLayout.rowWeights = new double[] {0.0, 0.0, 0.0, 0.0, 0.0};
				textLayout.rowHeights = new int[] {31, 30, 32, 30, 30, 30};
				textLayout.columnWeights = new double[] {0.0, 0.0, 0.1, 0.1};
				textLayout.columnWidths = new int[] {160, 130, 7, 7};
				text.setLayout(textLayout);
				getContentPane().add(text, new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
				text.setName("text");
				{
					jLabel1 = new JLabel();
					text.add(jLabel1, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
				}
				{
					jLabel2 = new JLabel();
					text.add(jLabel2, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jLabel2.setName("jLabel2");
				}
				{
					jLabel3 = new JLabel();
					text.add(jLabel3, new GridBagConstraints(0, 1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jLabel3.setName("jLabel3");
				}
				{
					jLabel4 = new JLabel();
					text.add(jLabel4, new GridBagConstraints(0, 2, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jLabel4.setName("jLabel4");
				}
				{
					jLabel5 = new JLabel();
					text.add(jLabel5, new GridBagConstraints(0, 3, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jLabel5.setName("jLabel5");
				}
				{
					jLabel6 = new JLabel();
					text.add(jLabel6, new GridBagConstraints(0, 4, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jLabel6.setName("jLabel6");
				}
				{
					jLabel7 = new JLabel();
					text.add(jLabel7, new GridBagConstraints(0, 5, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jLabel7.setName("jLabel7");
				}
				{
					jTextField2 = new JTextField();
					text.add(jTextField2, new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jTextField2.setName("jTextField2");
				}
				{
					jTextField4 = new JTextField();
					text.add(jTextField4, new GridBagConstraints(1, 2, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jTextField4.setName("jTextField4");
				}
				{
					jTextField5 = new JTextField();
					text.add(jTextField5, new GridBagConstraints(1, 3, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jTextField5.setName("jTextField5");
				}
				{
					jTextField6 = new JTextField();
					text.add(jTextField6, new GridBagConstraints(1, 4, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jTextField6.setName("jTextField6");
				}
				{
					jTextField7 = new JTextField();
					text.add(jTextField7, new GridBagConstraints(1, 5, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jTextField7.setName("jTextField7");
				}
				{
					jButton4 = new JButton();
					text.add(jButton4, new GridBagConstraints(2, 6, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
					jButton4.setName("jButton4");
				}
				{
					jLabel8 = new JLabel();
					text.add(jLabel8, new GridBagConstraints(2, 2, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
					jLabel8.setName("jLabel8");
				}
				{
					jLabel9 = new JLabel();
					text.add(jLabel9, new GridBagConstraints(2, 3, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
					jLabel9.setName("jLabel9");
				}
				{
					jLabel10 = new JLabel();
					text.add(jLabel10, new GridBagConstraints(2, 4, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
					jLabel10.setName("jLabel10");
				}
				{
					jLabel11 = new JLabel();
					text.add(jLabel11, new GridBagConstraints(2, 5, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 0));
					jLabel11.setName("jLabel11");
				}
				{
					jTextField3 = new JTextField();
					text.add(jTextField3, new GridBagConstraints(1, 1, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER, GridBagConstraints.BOTH, new Insets(0, 0, 0, 0), 0, 0));
					jTextField3.setName("jTextField3");
				}
			}
			pack();
			this.setSize(517, 339);
			Application.getInstance().getContext().getResourceMap(getClass()).injectComponents(getContentPane());
		} catch (Exception e) {
		    //add your error handling code here
			e.printStackTrace();
		}
	}

}
